package com.moana.buyTicket.util;

public class MessageBean {
	/**
	 * 发送短信标记
	 */
	public final static int MSG_SMS=1;
	/**
	 * 发送微信标记
	 */
	public final static int MSG_WXMSG=2;
	/**
	 * 发送邮件标记
	 */
	public final static int MSG_EMAIL=4;
	/**
	 * 发送所有
	 */
	public final static int MSG_ALL=7;
	
	/**
	 * 发送包含消息类型（多个为标记相加）
	 */
	private int msgType;
	/**
	 * 发送手机号码
	 */
	private String mobile;
	/**
	 * 发送微信openid
	 */
	private String openid;
	/**
	 * 发送邮箱
	 */
	private String email;
	/**
	 * 发送邮件主题（如果为空则截取内容）
	 */
	private String subject;
	/**
	 * 发送的模板
	 */
	private String model;
	/**
	 * 模板替换的值
	 */
	private Object modelBean;
	public int getMsgType() {
		return msgType;
	}
	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public Object getModelBean() {
		return modelBean;
	}
	public void setModelBean(Object modelBean) {
		this.modelBean = modelBean;
	}
	public static int getMsgSms() {
		return MSG_SMS;
	}
	public static int getMsgWxmsg() {
		return MSG_WXMSG;
	}
	public static int getMsgEmail() {
		return MSG_EMAIL;
	}
	public static int getMsgAll() {
		return MSG_ALL;
	}
}
